package com.framework.loippi.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.framework.loippi.mybatis.eitity.GenericEntity;
import com.framework.loippi.mybatis.ext.annotation.Column;
import com.framework.loippi.mybatis.ext.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Entity - im用户表
 * 
 * @author wmj
 * @version 2.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "T_IM_USER")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({ "handler","hibernateLazyInitializer" }) 
@ApiModel(value="im用户表",description="im用户表")
public class ImUser implements GenericEntity {

	private static final long serialVersionUID = 5081846432919091193L;

	/**  */
	@Column(id = true, name = "id", updatable = false)
	@ApiModelProperty(value = "")
	private Integer id;
	
	/** 头像 */
	@Column(name = "avatar" )
	@ApiModelProperty(value = "头像")
	private String avatar;
	
	/** 昵称 */
	@Column(name = "nick_name" )
	@ApiModelProperty(value = "昵称")
	private String nickName;
	
	/**  */
	@Column(name = "create_time" )
	@ApiModelProperty(value = "")
	private java.util.Date createTime;

	/** 用户签名 */
	@Column(name = "user_sign" )
	@ApiModelProperty(value = "用户签名")
	private String userSign;

}
